package com.wise.summer.v1.cms.content.setting;

import com.wise.entities.content.Setting;
import com.wise.framework.annotations.ApiInfo;
import com.wise.framework.annotations.Publish;
import com.wise.framework.annotations.validation.Follow;
import com.wise.framework.annotations.validation.LengthRange;
import com.wise.framework.summer.BasicSummer;
import lombok.Getter;
import lombok.Setter;


/**
 * @author futao
 * @date 2019/06/17
 */
@Publish
@Setter
@Getter
@ApiInfo("移除资源")
public class DeleteSetting extends BasicSummer<Boolean> {

    @Follow(kls = Setting.class, field = Setting._name, anno = LengthRange.class)
    @ApiInfo("资源名")
    private String name;
}
